package com.qidianit.mes.md.service;

import com.qidianit.common.pojo.MESResult;
import com.qidianit.mes.pojo.BOM;
import com.qidianit.mes.pojo.Material;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @Author 奇幻夜之梦
 * @Company 起点编程
 * @Description
 * @Time 2024/10/22 18:30
 */
public interface BOMService {
    MESResult selectByPage(@Param("materialId") Long materialId, Integer page, Integer limit);

    MESResult save(Long materialOfId, Long[] materialIds);

    MESResult updateBom(BOM bom);

    MESResult selectById(Long bomId);

    MESResult delete(Long bomId);

    MESResult deletes(String[] ids);
}

